<?php
class SQLiteModel extends Model {
    function get(string $id, string $table) {
        sqlite_connect($config['host'], $config['user'], $config['pass']);
        sqlite_select_db($config['database']);
        $result = sqlite_query('SELECT '.$id.' FROM '.$table);
        return sqlite_fetch_object($result);
    }
}
?>